try:
    a = int(input("请输入一个数字："))
    b = 1 / a
    print("有可能出现异常的代码")
except ZeroDivisionError as e:
    print("出现了异常", e)
except:
    print("其他异常")
else:
    print("else模块")
finally:
    print("finally模块")

# a = 1/0